<!DOCTYPE html>
<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    </head>
    <body>
        <script>
        //document.write(window.location);
        var loc = window.location.toString();
        loc = loc.substring(loc.indexOf("#") +1);
        var split = loc.indexOf("=");
        var result = loc.substring(0, split);
        var value = loc.substring(split+1 );
        if(result === "access_token"){
            window.parent._foursquareToken(value);
        } else {
            window.parent.__fourssquareError(value);
        }
   
        </script>
    </body>
</html>
